Boil out some duplicated parser logic.

Our focus today is on packages and package objects.