Add support for pinning packages.