Added documentation/comments.