Fix style.
Add some explanatory comments.