Added basic cache.