Changes to function is GM release of Swift.