added a fix for externs in completion advice.