Remove duplicated type declaration