Fix doctests
Support pry nesting prompt
Fix typo