Worked on persistence pattern.