Implementing some serialization. But yet none.