Applying code styles.
Fixed some FxCop alerts.