Inject location and region into generated ast types by abusing annotations.
Finish hooking up PathedDocument.