Remove the obsolete Path2D and Shape2D class, replaced with the Path class. This should contain the existing functionality