Fixed StyleCop warnings