Replace class
constraint with AnyObject
#1733
Merged
class
constraint with AnyObject
#1733