@classmethod
def instance(cls):
    """Return a reference to the singleton instance, or ``None`` if one
        does not exist.
        """
    return getattr(cls, '_{}_singleton'.format(cls.__name__), None)
