Added setter for requirements in packages.