Added support for Patch method in handler taking the patched resource as argument.