Removed fix for Ruby 1.8.x
Support custom event config in events
Support different types of event config