                 useBootstrap4: Bool = true,
                 enableAuthorPages: Bool = true,
                 enableTagPages: Bool = true,
-                blogPresenter: BlogPresenter? = nil) {
+                blogPresenter: P) {
 //        self.postsPerPage = postsPerPage
 //        self.databaseIdentifier = databaseIdentifier
         self.blogPath = blogPath
         self.feedInformation = feedInformation
 
         self.pathCreator = BlogPathCreator(blogPath: self.blogPath)
-        #warning("Default to sensible one")
-        self.blogPresenter = blogPresenter!
+        #warning("Default to sensible one in the constructor")
+        self.blogPresenter = blogPresenter
         self.enableAuthorPages = enableAuthorPages
         self.enableTagPages = enableTagPages
 


    let blogPath: String?
    let pathCreator: BlogPathCreator
    let blogPresenter: BlogPresenter
    let feedInformation: FeedInformation
    let enableAuthorPages: Bool
    let enableTagPages: Bool

//import Foundation
//

public struct Provider<P: BlogPresenter>: Vapor.Provider {

    public static var repositoryName: String {
        return "steampress"
