Added filters to getPackages, and methods to get/set them.