Update to support 0.11+
Adding getStats support
Update to support 0.11+