reconsider java.io.Serializable implementation.