refactord documentation handling. introduced "canBeGenerated" property