Integrate trait resolver; use it to discover traits for metaobjects.