Fix documentation for register_service.

 register_service does take ownership of the provided service.