Remove unused functions from pkgstr