<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def all(cls, collection, skip=None, limit=None):
 """ Returns all documents of the collection :param collection Collection instance :param skip The number of documents to skip in the query :param limit The maximal amount of documents to return. The skip is applied before the limit restriction. :returns Document list """


        kwargs = {
            'skip': skip,
            'limit': limit,
        }

        return cls._construct_query(name='all', collection=collection, multiple=True,
                                    **kwargs)