Move to Package.prototype.map API