Caches classlist entries.