Adds getSpans public reqres method.