TileObject: Added destructor.