Add group method.