Adds basic support for Rails 4