Require a template inside and async callback.