Kotlin support

What it says on the tin.