Define an idiosyncratic API for repository