am ff9d95d5: Merge "Tweaks to patchoat and other related things."

* commit 'ff9d95d58ea9c36d26b96f52c9a7ac4bf92fed2d':
  Tweaks to patchoat and other related things.