Remove redundant type