Add a function for emitting sections
automerge: c469e70

* commit 'c469e70ec218bd00769bc7961e58db39bd025e76':
  Add a function for emitting sections