Update docs and remove deepcopy which we don't use.