Resolve external references by AMD