Convert to a more modern Objective C syntax.