Support local lexical scope around decorated function