Adding getStats support