Encapsulate the save operation from structure