Add write-support for package-index