Switched to the paradigm used in ActiveRecord 4.0.