Commenting the code, preparing for doxygen output.