enable registration and unregistration of different types of devices