Improved some classes so that they can actually be serialized via the GWT RPC protocol.