hard coded some dependencies to avoid fixing the async nature of template lookup.