Add XML documentation

This should fix issue #27, but the project won't build for me so I can't be sure.