Class for registering callbacks on Objects