Safer way to use the version for codelists