Add missing Deprecated annotation
Fix generics warning
Fixes #246 : allow to use private fields for field by field comparison, make this the default behavior (breaking change).