Added some more commenting.