Added support to check extension strings.