Remove trace from special methods and eliminate recursion in __repr__