Fixed some typing errors.