Named define/call parts with better error logging