Changed parameterization of run_callbacks to make it run on Rails 4