Rename print method to prettify.