Reorganized monkey patches.

Everything patch-related now lives in the `patches` subpackage.