Update documentation to match function.