[PATCH v2 4/8] d2d1: Add a factory reference to effect context.