cleaned up scope variables.
Merge remote-tracking branch 'origin/master'