semantic: Rewrite expref lookups later, and in parent function.