Put back __str__ and revert change to code cache version.