better obsolete message for batch APIs