Fix classinfo caching.