Fixed some oversight with XML documentation and variables names.