Added core-xml dependency to compile time instead of just test scope.