Add sequences and recursive serialization