Slightly refactor getHandler function.
Slightly refactor getHandler function.

ember-engines/ember-engines,ember-engines/ember-engines,dgeb/ember-engines,prashn64/ember-engines,prashn64/ember-engines,prashn64/ember-engines,dgeb/ember-engines