Argument validation, size limits, async cleanup.