Refactored some variable names in Packagescontroller.