Refactor common aspects of repositories into separate concerns, to
better group related methods.