Implement Repository methods.