WIP: Recursive querying of sequences.