Fixing error in protocol.