Remove useless imports and respect PEP8.