Remove imputs from RestoreReferences target.