Fix console wrapper for pry