Add groups API support