Added sequence expressions.
Bugfix and self-review.