Use more kotlin features.