Implement the generic PolicyRepository class.