Fixes issues with Swift (since language syntax has been updated on 07/07/2014)