Removing unused Resources.