Restructure documentation.

Put all member functions into one of the doxygen sections. Split
sections so that they make more sense.