Fixed some StyleCop warnings.