Merge branch 'upstream' into tmp