[Shapes] Generate "meta" factories for WM tasks
[Provenance] Improve API usage