Some Doxygen comments and small cleanups.