Changes to fix compiler errors with beta 3 and 4
Merge pull request #4 from shagedorn/bugfix/swiftUpdate

Changes to fix compiler errors with beta 3 and 4