Remove duplication.

Generalise 'ppField' and friends and remove customised copies from
D.C.PackageEnvironment.