Remove mutation methods from immutable classes' interfaces.