Issue #40: Update to patchfile and documentation