Use interface instead of direct #group access, prepare to not send #groups between nodes

BugzID: 13487