Fixing sonar issue.