Added logical groups to api.