Definition lookup now uses shared_ptr instead of name