Simplify analysis service interface, factor language identification out.