Remove support for deprecated garbage collection to appease warning compiler