Updates to run on Ruby 2.2.0.