Changed 'kill' to 'term' for document-repository