Added XML documentation and enabled generating xml code comment files. Also changed exception messages.