Generate dynamically create_{transaction} and do_{transaction} methods