Backport of @functools.singledispatchmethod to Python 2.7-3.7.
conda install conda-forge::singledispatchmethod