Integrate some library functions

Lists are copied on assignment now, so this function is unneeded.