Convert to Ember.js generator