Optional consideration in LanguageSpecificationFactory