BUG: forgot to import StringIO in Scope (for new repr)