MGM: adding patches for common 7.x-3.9.