Merge branch 'master' into osx