Refactor PmInfo into a single place.