declare repositories as services