[RFC] widl: Add option to generate classfactory