register events on base classes