Removing !global because of compatibility issues with Rails 4