Remove the `encache` defined outside `Locker`.

Closes #289.