Replace AbstractSoneCommand with Kotlin version