Fixed error with depretched protocol.