Replace image-related interface with Kotlin versions