Auto-generated scaffolding code