Abstract Repository could capture the actual type.