Port the Stat component