Allow passing args to a hook