Removes unnecessary imports