Patch changes to module.