PKGM can be returned only one from the core.
Complete rewrite of the package.