Allow overriding the sequence counter.
Add Dict/List declarations (Closes #18).