Added putTile support.