Added XMS documentation and XML reference