Remove debug code
Merge branch 'master' into 2.0