Added a bit of commenting.