Added better documentation in source file.