Added option to disable event delivery in development.