Add hooks inspection.
Change hook event types.
Change to use new hook events.
Fix missing method resolution.
Change state callbacks to use new event types.
Add new event callbacks.
Remove dead code.
Change callbacks tests to use new syntax for event hooks.
Fix async tests.
Fix events spec.
Fix target spec to use new callbacks.