Removed most hooks and moved them to /engine