Update generator function documentation.