Implement appendTo option.