Updated number of arguments for action hooks.