better names and repr for PMI classes