Make the Rotation class immutable