Parameters for callbacks in DifferentialEquations.jl

Is there a way to pass additional parameters to event detector and event handler functions in DifferentialEquations? (Other than by the obvious kluges, using globals or adding the parameters to the state vector with dp/dt = 0?).
Thanks.

integrator.p

Thanks!