Probably (I haven't actually looked) because `permissions` imported `models`, so this code was getting the `Permission` class indirectly.