Implement lexical scope