Adding a way to set the cache size.