'This is only here so that some API misusages are easier to debug.'

def __call__(self, *args, **kwargs):

    if ('.' not in self.__name):
        raise TypeError(("'Collection'    object    is    not    callable.    If    you    meant    to    call    the    '%s'    method    on    a    'Database'    object    it    is    failing    because    no    such    method    exists." % self.__name))
    raise TypeError(("'Collection'    object    is    not    callable.    If    you    meant    to    call    the    '%s'    method    on    a    'Collection'    object    it    is    failing    because    no    such    method    exists." % self.__name.split('.')[(-1)]))
