Merge 'maintenance/4.0.x' into main