Fix syntax errors (fix accessing AnyEvent::httpd).
Fix search callback.