Make applyGarbage public