Use more Swift features.