Added an init callback