Python API: Adding a new type: Sequence.