Move xml support to optional dependency.