Added a few inline comments.