Add plugin hooks for delete/contains.