DRY up repositories