Added some comments to the new code added in the last four or five commits.