Split out handlers for each ajax request for consistency test.