Removes unneccesary imports