Add support for sequences anywhere in `depends_on`.