Cleanup of section codec