SliceResourceProvider & SliceModelProvider shouldn't be context scoped,
as they contain injector
remove unused code