Remove unnecessary type annotator.