adding sharedBy and shared observables to layerModel