Remove redundant type.