Fix EventBus.register method. In production mode only class literals can
be created by GWT.create.