needs to become `on_delete_resource`. Also needs `on_deleted_...`