Auto-generated code for partial tags