Converted DeserializedMemberScope to Kotlin