[Serialization] Add template on save and load function for serialization => Now able to load in abstract pointer