Fix Registry initialisation