Got rid of unused resources