Prepare for savestate support