Add patch support.