Add doxygen comments and changing some of them.