Make library more dev-friendly.

Fixes #1.
Why the timeout? Is it because the mutation event is fired async? If so, there should be a comment stating this.