extended DBAgent::addSetupFunction() to pass the user data as an argument to the callback function.