Infer criteria classes
No need to explicitly require criteria classes