return Kotlin object in kotlin lib