Updated to match Swift beta 5