routeConfig's XML tree is disgusting