runtime type inference; support for generic Mapping objects