Added some XML and version functions