Sonar fixes
Merge remote-tracking branch 'charlie/master' into charlie