Pre and post hooks only recieve event argument
Refactor
Make it possible to delete entities