Purging old embedded resources