Made some public variables private. Updated a comment.