Cleanup useless hook stuff.