First steps towards working restoreInstance-Stuff