Added serialization for Rotation