updates for importing registration object - untested.