(1) fix an issue with a missing use declaration for CrudRead
(2) Making the closure of the inferred types