Detach before append.