Refactoring Ember.set