- remove unused imports - avoid overlaps of variable names with keywords - make some exception processing more explicit