Fixed StyleCop errors