Added some more hooks.