Fixed StyleCop issues in codebase.