Library cleaning