Small edits for readability and some comments.