Also use docstring instead of function annotation for "generic" types.