Updated examples to match new toSeq implementation