Made instances properly restorable, meaning the relation to its
inhereter is maintained such that any changes made to inhereter while
instance has been removed are also forwarded to the restored instance.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>