Giving us an example with bogus method names does not help. So I have to guess …
There are certain methods in the API that commit their own operation and cannot easily be nested in a Ruby operation.
These cases have already be discussed here in the forum,
and logged as issue in the official public API Issue Tracker.
Notable methods are DefinitionList#load and Model#place_component.
SEE:
Also, I had posted an example that uses Model#place_component in one undoable operation …