changed on_init to onInit and a small doc fix