[DF-2446] [DF-2635] Moved some dctor to protected section.