Added example hooks.