Removed unneeded garbage collections