Implemented Serializable

Forgot to have the class implement serializable so that it can be set
through I/O streams properly.