         
         return try View(bytes: html.bytes)
     }
-
-    public func makeResponse() throws -> Response {
-        return try render().makeResponse()
-    }
     
     /// Adds dependancies that will be loaded into the webpage.
     ///

import HTTP

/// Represents a web page and contains all the HTML elements.
open class UIWebPage: ResponseRepresentable {
    
    /// The head in a web page.
    public var head: UIElement

        self.dependancies.append(dependency)
    }
}

extension UIWebPage: ResponseRepresentable {
    
    /// Handles auto rendering for routes.
    ///
    /// - Returns: A response containing the view from rendering.
    /// - Throws: Any errors generated from creating the view.
    public func makeResponse() throws -> Response {
        return try render().makeResponse()
    }
}
