Use mutable reference to immutable map