Wrapping create/destroy units in transactions