added Doxygen comments.