Refactoring, serilization