Remove redundant type union