Using 2P-Kt programmatically in Kotlin