Regenerate attribute models after clearing them

This prevents spurious errors when only using the backend