Support custom group key.