Fixed #100 Map issue for generic type inference