Setup models for legends.xml