Use already instantiated cache object.
Merge pull request #418 from astorm/develop

Use already instantiated cache object.