Change CaseInsensitiveHashMap extends to LinkedHashMap.