db/fields:

Fixed a semantic error: instance -> isinstance
calcs/hazard/general:

Remove an unused import.
engine:

Removed an unused import.
writer:

Removed 2 unused imports.