Fix warning: Member variable is not initialized in the constructor.
Fix warning: Member variable is not initialized in the constructor.
Fix warning: Class which has virtual members does not have a virtual destructor.
Fix warning: Missing bounds check for extra iterator increment in loop.