default <C extends Document & HasEnabled> BUILDER with(Class<C> type, String name, Consumer<C> consumer) {
        return with(type, name, (app, t) -> consumer.accept(t));
    }
Configures a parameter for the named {@link Document} of a certain class.
The consumer will then be applied after the configuration has been read
and after the System properties have been applied.

@param <C> the type of {@link Document} that is to be used
@param type the class of the type of {@link Document} that is to be used
@param name the fully qualified name of the {@link Document}.
@param consumer the consumer to apply
@return this instance
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/ApplicationBuilder.java