Merge branch 'waf' into stata