Big upgrade. Now can successfully generate packages for 0.5.0.