Added scope capability to providers and blocks.