Remove old code about adapters