Remove xmlpatterns.