Extract common functionality out of ResponseVisitors