Remove unnecessary mutability.