Minor tweaks.
Added some extra comments.