Remove duplicate type declaration