StyleCop and avoid redundancy