Updating some custom options for Ruby modes.
Removing deprecation warnings.