Implemented promise for service.init()