Remove unused hash() and pretty print.