Added setting of style when creating cell.