Remove redundant type specifiers