Remove useless type declaration