Change `service` into `factory`.