.on and .once return deregistration functions