Remove serialize and deserialize.

See #67.