There are two forms of System.register being used - one for Traceur's normal output, and another for the instantiate output. Ideally there should only be one though. The instantiate output is the System.register form I'm detecting here, and am detecting it by function.length > 0 effectively.