Added basic xml support.