Add hooks spec.
Add all option to event hook.