Extract a common base class.

GenericAddPathEffect .