Add methods to insert, append and prepend.