While I'd like to avoid using this too much since the operator system should handle. It's less trouble than accessing it inline each time.
Split out undo API from ED_util.h into ED_undo.h