Added doxygen comments