Add missing curly braces for new try/catch blocks