Also adds some cross-refence comments for some variables that are referenced in another translation unit.