[TYPE] Quick fix of a duck typing problem with classes