Cache class lookups