InPaint class