Remove superfluous and erroneous imports.
Enhancement for #1604. Note about SQLite peculiarity on batch insert.