 +    }
  }
 diff --git a/net/remoteserver.h b/net/remoteserver.h
-index 857d791..df00532 100644
+index 857d791..2e1fe02 100644
 --- a/net/remoteserver.h
 +++ b/net/remoteserver.h
-@@ -32,56 +32,22 @@
+@@ -32,56 +32,34 @@
  
  #include <string>
  

+		&RemoteProtocol::msg_setmetadata,
+		&RemoteProtocol::msg_addspelling,
+		&RemoteProtocol::msg_removespelling,
 		0, // MSG_GETMSET - used during a conversation.
 		0, // MSG_SHUTDOWN - handled by get_message().
-		&RemoteServer::msg_openmetadatakeylist,
-		&RemoteServer::msg_uniqueterms,
+		&RemoteProtocol::msg_openmetadatakeylist,
+		&RemoteProtocol::msg_freqs,
+		&RemoteProtocol::msg_uniqueterms,

 	throw_read_only();
     const char *p = message.data();
     const char *p_end = p + message.size();
@@ -734,27 +857,162 @@ RemoteServer::msg_setmetadata(const string & message)
     string key(p, keylen);
     p += keylen;
     string val(p, p_end - p);
