Cleanup and lexical-scope.