Use endpoint adapter attribute instead of nested elements