Added format caching.