pkgid and make dead code public
Merge pull request #17 from cmr/master

pkgid and make dead code public