Also, for the parameter here, it's probably best to just use a `scala.collection.Map`, which is the superclass of both mutable and immutable maps.