Fixed so append and prepend works with tables.