Added doxygen-style documentation.