Add gRPC functions.