Node/express referenceable types

This pull request follows up from #1920.

I closed #1920 (@paypac is my work account) and and finished off the work as @yortus (my private account).