4.0.0 release
Merge branch 'MAINT_4_0_0' into QA_4_0
Fix merge conflict
Merge branch 'QA_4_0'