Does this take roots into account?  Broadly, I'd specify some endpoints as roots and would only want to emit those endpoints.