old_contents: """Generic builder."""
  
  from regolith.builders.cvbuilder import CVBuilder
  from regolith.builders.htmlbuilder import HtmlBuilder
  from regolith.builders.postdocadbuilder import PostdocadBuilder
  from regolith.builders.preslistbuilder import PresListBuilder
  from regolith.builders.publistbuilder import PubListBuilder
  from regolith.builders.gradebuilder import GradeReportBuilder
  from regolith.builders.manuscriptreviewbuilder import ManRevBuilder
  from regolith.builders.proposalreviewbuilder import PropRevBuilder
  from regolith.builders.reimbursementbuilder import ReimbursementBuilder
  from regolith.builders.resumebuilder import ResumeBuilder
  from regolith.builders.cpbuilder import CPBuilder
  from regolith.builders.figurebuilder import FigureBuilder
  from regolith.builders.coabuilder import RecentCollaboratorsBuilder
  from regolith.builders.beamplanbuilder import BeamPlanBuilder
  from regolith.builders.appraisalbuilder import AppraisalBuilder
  
  
  BUILDERS = {
      "cv": CVBuilder,
      "html": HtmlBuilder,
      "publist": PubListBuilder,
      "grade": GradeReportBuilder,
      "grades": GradeReportBuilder,
      "resume": ResumeBuilder,
      "current-pending": CPBuilder,
      "postdocad": PostdocadBuilder,
      "review-man": ManRevBuilder,
      "review-prop": PropRevBuilder,
      "preslist": PresListBuilder,
      "reimb": ReimbursementBuilder,
      "figure": FigureBuilder,
      "recent-collabs": RecentCollaboratorsBuilder,
      "annual-appraisal": AppraisalBuilder,
      "beamplan": BeamPlanBuilder
  }
  
  
  def builder(btype, rc):
      """Returns builder of the appropriate type."""
      return BUILDERS[btype](rc)
  
new_contents: """Generic builder."""
  
  from regolith.builders.cvbuilder import CVBuilder
  from regolith.builders.htmlbuilder import HtmlBuilder
  from regolith.builders.postdocadbuilder import PostdocadBuilder
  from regolith.builders.preslistbuilder import PresListBuilder
  from regolith.builders.publistbuilder import PubListBuilder
  from regolith.builders.gradebuilder import GradeReportBuilder
  from regolith.builders.manuscriptreviewbuilder import ManRevBuilder
  from regolith.builders.proposalreviewbuilder import PropRevBuilder
  from regolith.builders.reimbursementbuilder import ReimbursementBuilder
  from regolith.builders.resumebuilder import ResumeBuilder
  from regolith.builders.cpbuilder import CPBuilder
  from regolith.builders.figurebuilder import FigureBuilder
  from regolith.builders.coabuilder import RecentCollaboratorsBuilder
  from regolith.builders.beamplanbuilder import BeamPlanBuilder
  from regolith.builders.appraisalbuilder import AppraisalBuilder
  
  
  BUILDERS = {
      "annual-appraisal": AppraisalBuilder,
      "beamplan": BeamPlanBuilder,
      "current-pending": CPBuilder,
      "cv": CVBuilder,
      "figure": FigureBuilder,
      "grade": GradeReportBuilder,
      "grades": GradeReportBuilder,
      "html": HtmlBuilder,
      "postdocad": PostdocadBuilder,
      "preslist": PresListBuilder,
      "publist": PubListBuilder,
      "reimb": ReimbursementBuilder,
      "recent-collabs": RecentCollaboratorsBuilder,
      "resume": ResumeBuilder,
      "review-man": ManRevBuilder,
      "review-prop": PropRevBuilder,
  }
  
  
  def builder(btype, rc):
      """Returns builder of the appropriate type."""
      return BUILDERS[btype](rc)
  
subject: put builders in alphabetical order. Why not?