Fixed r# errors.