Add sequence handler.
Code and successful tests.
More tests.