Added bunch of xml comments.