Added device registration.