Fixed FxCop violations.