Remove need for ctools_ajax argument in api