enhanced code generation for Set classes enabling startModelPattern