Fixing duplicate registration.