Remove diagnostics related to servlet request.
Make Result an interface instead of a nested class.