Add *getStats command to Core