Remove non-required imports.