scope storage and access performance optimizations