Resolved Code Analysis issues.