Add support for flash scope.