Improve error message--print just class name instead of metaobject hash.