Formatting cleanup and resolved all errors in pry