Implemented ResultSetExtractor.stg. refs #483