Disable caching to prevent can't pickle generator objects problem.