Pass params to callback functions