This is not a `ServletContext` but `ScalatraContext`. I think the variable name should be `scalatraContext` or just `context`.