refactor: deprecate NonNullObject
and AnyObject
#821
Merged
NonNullObject
and AnyObject
#821