Refined package generation.