Add reference for oninit