Added PackageIntents class to handle issue where invalid types could be passed into package_intents list