the value of `doc` becomes the docstring.