Don't send extra ondata events
Add docs for stats component
Add logger component
Update api docs
Update api docs script