document add_adapter