Adds configurable lexical scoping