Fixed fxcop errors.