Correct typing errors.