Rewrite the follwoing R class to include inline R Roxygen documentation strings.

Element <- R6::R6Class(
    classname = "Element",
    public = list(
        initialize = function(name, type, children) {
            private$name <- name
            private$type <- type
            private$children <- children
        },

        render = function () {
            private$doRender()

            for (child in private$children) {
                child$render()
            }
        }
    ),
    private = list(
        name = NULL,
        type = NULL,
        children = NULL,

        doRender = function() {
            stop("doRender must be implemented by a child of Element.")
        }
    )
)