Allow to pass configuration function to express()