Add a TypeMap consturctor