Allow the user to set their own GC callback