Add function to return the contents of a section