Closure for functions that take title and are http.handlers