Implemented remaining write/read methods in serializer/deserializer