class StubRepository extends DocumentRepository (View source)