Added (untested, of course) ability to delete objects from within callbacks.