BaseModel metaclass for unbound field collect optimization