Criteria pattern added.