support annotation of external definitions