Fixed styleCop errors and its tweaked settings.