Converted SubstitutingScope to Kotlin