Updated beta 4 Swift error