Add external codelists to generated output