Initial work on adding references in exported doc