Remove unnecessary type decl