Don't instantiate classes

This (a) may speed things up a bit, and (b) allows the detector to be used on objects that require arguments for construction.