System.js compat. Fixes #2.