add xml routes to weak warning