Remove unnecessary type hint.