Added code to register the driver and manager.