Add action hooks.