Migrated TextKitDemo to unified API