[Potential Bugfix] Generator handler now has virtual destructor.