Added basic event processor.