Rename patch_on_init to on_init. Fix issue with weaving multiple targets. And other boring stuff ...