Automatically registering devices when the type is known.