Better check for new.

This version will work for classes that inherit from Panopticon too.