Add commit caching.