PIM-3097 : fix use statements and spec for product writer