Removing unused images.