Add `__version__` attribute to pydantic module.