Add $.sequence that converts any Sequence to an array.