add treats to common_utils for generic foreign keys, abstract classes and widgets