Fix StyleCop warnings