Clear __dict__ to break some cycles.