Refine Swift usage with framework return types per Beta 6...

Also, local functions can't be referenced inside
local functions.

Sigh.