Remove deprecated methods usage :
Attribute::isForeignKeyAttr
Attribute::isIdAttr