Refactored gem groups.