Pass context to functions handling harvest sources