Workaround newly introduced Kotlin compiler bug