Remove unused groups. Change groups of numbers and keys.