Fixes auto generated catch clauses.