clean up and unify Exception objects
unify `use` statements - import names are always considered fully qualified