Switching prototype syntax to enable event emitter