Patch now also adds generated properties