Minor refactoring: introduce a method isTransient() on Action to determine actions that performs actual data changes.
Use new isTransient() method in GenerateActions for hasModifications(...) iso. instanceof-based check.