Fixing lots of doxygen and documentation errors.