Changed how handlebars is registered.