Convert a number of files to Kotlin. https://redmine.stoutner.com/issues/641