Freeing resources.