Check for protocol before callback.