Modified the DefaultAdapter to use the new api configuration