Added saveWithChildren helper function