Add caching to particle distribution generators.