Rewrote internal schema caching.