Made required classes/methods public where necessary to comply with new module access rules in Kotlin