You can use `Ember.Object#detect` to properly detect classes.