Load Contours in 3D slicer 4.11

Hello everyone,
I’d like to know how I can load contours.
In previous 3D slicer versions I used the following code:

import vtkSlicerContoursModuleMRML
contour = vtkSlicerContoursModuleMRML.vtkMRMLContourNode()

How can I get the same output in 3D slicer 4.11?

Contours module was replaced by Segmentations module about 5 years ago. If you have trouble achieving the same things with Segmentations then let us know what you need exactly.