Remove unnecessary type declaration.