Fix gem warnings.