- Changed docstring of prettify method