Adding missing init() in examples