API changes to facilitate Lantern integration
Improved statistics tracking for Lantern