Added assert for local adapters