@oterral, your code looks good. But I'm still wondering why we destroy the scope in `close`, and recreate it in `open`. Why don't we create the scope and do the compile/link once for good in the constructor?