Remove unnecessary type declaration