Added depends_on method