Added parents and children methods to logical group model.