ObjectExtractionSerializer: Apply saved labels in small blocks instead of all at once.
Clean up unused variables.