FIX: functions were not properly recreated during a rebinding in objects.