Converted to a "more R-y style".