Move _adapters closer to the function that use it