Fixed Doxygen warnings.
Changed spelling for consistency.
Corrected internal function prototype.
Corrected internal function prototype.