Server needs to register classes too...