Adding documentation to class Figure and enumeration FigureTypes