Remove redundant type annotations