Support new scope usage w/ generators.