Call `reflections` on class instead of instance

Reflections refactored in Rails 4.1:
https://github.com/rails/rails/pull/15300