Added ajax parameter to is_callable methods.