Improve Adapter’s ajax helpers