Updated formatting and comments.