Might be nice to copy `__doc__` here as well