Remove direct invocation from `index.js`.

Closes #31.