Removing useless try-with clauses in Goal.enter variants.