Location: correct the parameter types of the callbacks.