Added documentation and changed some XML settings