Converted the wizard of event registration into new api.