By default class sharing type is changed to open