Fix cache object type.