register types of events supported for an object not through events, but through a function