Correct documentation, rename function