Problem: <use /> depends_on places dependencies realtive to first element of recursion

Solution: Added dependent to depends_on on method to ensure the dependency order.