Remove warnings on the use of Restrictions.naturalId