CMS type detection