'append2df' and 'lapply.ds' amended.