Added some comments in source code.