Allow for the deletion of hooks.