Update to permit use with Rails 4.