Add minimal constructors to diagnostic objects.