Fix compiler warning
Added proxy generation for Kotlin