Add XMLHttpRequest-based mechanisms.