Check that there is a RemoteLocation before trying to get the Children
[nobug] tag the AST with the source that created it
Bug 447962 - [Occurrences] When marking global occurrences we mark defining occurrences
Bug 448540 - Clean up the type environment code