Adding Change event emitter
Automatically rewritten for npm.