Remove unused referral stuff.
Update gems.