Simplify `txp-actions` code