Re-implement Tile class.