Merge branch 'master' into mac