Fixed #7398 -- Allow for custom cache-backends to be used.