Added basic cache invalidation API.