I would prefer that all of these calls dealing with registrations return a named class instead of Object, even if there are no methods that are useful to the consumer... it makes it clear which de-register methods expect to be called with the prior calls to register methods.