Added DOXYGEN comments to the relevant methods.