move <dependency> element into main XML template