Simple patch generation tool.