Fixed FxCop errors