[RFC v2] widl: Add option to generate classfactory