Support for generic objects (maps)