Refactoring of group items and elements.