Adding ext.deps to model.