Maybe feature does what you want?
feature->import::into($caller, 'v5.020'); [download]
In reply to Re: how to import::into v5.020 by Corion in thread how to import::into v5.020 by M4