Inject SourceTree into platform
Inject module resolver
Inject type lookup factory rather than passing checker through
Re-enable sanity check for optimised node.js output