Added some additional comment strings explaining functionality.