Made TileFactory mergeable