The same statements are used for generation and reverse engineering.
If you are using the extension mechanism for script generation, you have to declare statements in the list item ReversedStatements in order for them to be properly reversed. Type one statement per line in the ReversedStatement list.
For example, the extension statement AfterCreate uses statement CreatePartition. This text item must be declared in ReversedStatements to be properly reverse engineered. You could declare other statements in the following way: