Use === when checking for circular dependencies for pretty printing.