Fixed silly gcc bug where I couldnt extend the object class without defining a virtual destructor.