Attribution for #279
Fix Ruby 2.0 warnings. Closes #265