Added basis for CMS and language detection.