Added documentation with doxygen.