Stub in mongo graph functions