Use the new process to register

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>