First cut external references

Right now just segregate them from internal references.