Dynamically scoped, thread-local objects (WIP)