Adds try,catch support for Swift