Extract block micro refactoring removing the declaration and limiting the block as possible