Allow parameters to be sent to callback