Change `multiMapFactory` to a by-name parameter