Support for custom patches