Removing unused dom4j dependencies because they can cause classloading problems.