Added dynamic search specifications and base repository implementation