Minor refactoring.
Added comment.