Refactoring Tile object.