Added a bit of extra commenting.