Fix try/catch blocks.