Add comments to package.rb and remove some tiny dead code