Remove unnecessary fields from Program constructor.