Fixed typing errors.