Events are now properly registered.