Cache the class metadata instead.