Added some code comments.