Updated main module’s `patch` method signature