code: @Export
  	public JsHandlerRegistration addDispatchStartedHandler(final DispatchStartedHandler handler) {
  		HandlerRegistration registration = GwtCommandDispatcher.getInstance().addDispatchStartedHandler(
  				new org.geomajas.gwt.client.command.event.DispatchStartedHandler() {
  
  					public void onDispatchStarted(DispatchStartedEvent event) {
  						handler.onDispatchStarted(new org.geomajas.plugin.jsapi.client.event.DispatchStartedEvent());
  					}
  				});
  		return new JsHandlerRegistration(new HandlerRegistration[] { registration });
  	}
docs: Add a handler that is called whenever the client starts communicating with the back-end.
  
  @param handler
  The actual handler (closure).
  @return The registration for the handler. Using this object the handler can be removed again.