Make PMap a primitive