Tweak logging and imports.