Remove partial imports that are not included