Add 'append' and 'prepend' methods for element relocation