Added code to serialize levels, sections, etc.