Modified get_adapters methods to be able to inject