Starts to implement serializing