Adds helper to add multiple functions to hooks.