models: make PackageDefinition public