Did not find a better way to avoid a double registration.