Remove redundant type declarations