Wrote documentation comments.