Add support to STAT and STAT2. Still need more revision to run on ex
benchmark.