Add interface for the analysis service.
Parameterize analysis result type.