Update Swift syntax to language changes in beta3