Fast patch for fix generators documentation generation

Rel #478.

A proper solution is hacking RKelly to support generators in it. While it isn't done, this patch may help somebody.