Added useful code comments.