API changes for automatic validation an DI of adapters