Remove non needed components.