Fix some scrutinizer reports
Merge remote-tracking branch 'origin/master'