Repositories: Add some functions