Make Discoverer inherit from Object to make refcounting work right.