Add prepend and append functions