Hot fixes to get the admin ajax working.