Bug fix.

Avoid caching the _local_ variable.