Specifying package dependencies, and removing an invalid throw