public static ModelAssembler assembler(ClassLoader classLoader) {
        return new ModelAssembler()
                .traitFactory(TraitFactory.createServiceFactory(classLoader))
                .validatorFactory(ValidatorFactory.createServiceFactory(classLoader));
    }
Creates a {@link ModelAssembler} that is configured to discover traits,
validators, and built-in validators using the given
{@code ClassLoader}.

@param classLoader Class loader used to discover services.
@return Returns a model assembler.
smithy-model/src/main/java/software/amazon/smithy/model/Model.java