sub invoke_contents { my($webcrawler, $hook, $url, $response, $structure) = @_;