Doxygen comments added.
Accidentally didn't commit these.