Updated header and inline comments.