Remove superfluous and erroneous imports.