What's the purpose of `this._classes` entries that are not instances of `SharedClass`?

I am proposing to remove the check from here and add an assert to `RemoteObject.prototype.addClass`. In which case `addSharedClass` would make a better name.