Change from non-generic Multimap to generic one.