Added docstring to wpy.