default String renderMethods(Generator gen, M model) {
        return gen.onEach(
            model.getMethods().stream()
                .map(this::wrapMethod)
                .collect(Collectors.toList())
        ).collect(Collectors.joining(Formatting.dnl()));
    }
Render the methods-part of the model separated with two new-line 
characters. The {@link #wrapMethod(Method)}-method
can be overridden to change the implementation type of the methods before
rendering.

@param gen    the generator
@param model  the model
@return       the generated code
common-parent/codegen/src/main/java/com/speedment/common/codegen/internal/java/view/trait/HasMethodsView.java