Swift syntax update for beta 3