Code Cleanup
Merge branch 'master' into testing