an event can now also be detached.