Deps should be loaded before main templates.