Avoid casting already immutable values