Restored original way of regestering services with callbacks, which is useful when working with the OTA update service and battery service.