Add hex dump function.