Fix callback definition.