Added hooks.