Expose helper functions parsePackage and parsePackage' to the users.