Fix an issue with type synonyms