Fixed cache init related type errors.
Merge pull request #1 from driscollwebdev/master

Fixed cache init related type errors.