Implement storing groups in defaults