Added rainbow and parenthesis modes to R.