Class methods repr() and str() are '<function>', not '<unbound method>'