Make .emit chainable

Closes #3.