Fix merge from upstream/master